Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

139
Visualizações
edit HTML permanently using "contenteditable"

I'm currently working on an easy-to-use website editor (https://grimm.agency/?edit=true). My goal is to get the inner HTML of the editable Elements (each one has it's own id) and change the corresponding Elements text, in the existing HTML, accordingly. Right now I'm able to get the edited text and log it in the console, but I dont quiet know where to go from there. Any tipps welcome!

            innerHTML = document.getElementById(e).innerHTML;
            if (innerHTML.length > 5){´

                console.log("pass file to php");

                console.log(innerHTML);
            } else {
                console.log("file to small");
            }
        }
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda